package  com.easyweb.generator.model;

import java.io.Serializable;
import java.util.Date;

/**
* @Description: 
* @FileName:.java
* @author:WeiHui.Zhang
* @date:2016-06-24 02:06:39
* @Version:V1.00
*/
public class SysUser implements Serializable {
	
	private static final long serialVersionUID = 1L;

	private int id;
		
	/**
	* 登陆帐户
	*/
	private String account;
		
	/**
	* 密码
	*/
	private String password;
		
	/**
	* 电话
	*/
	private String phone;
		
	/**
	* 邮箱
	*/
	private String email;
		
	/**
	* 性别(0:未知;1:男;2:女)
	*/
	private int sex;
		
	/**
	* 用户名
	*/
	private String userName;
		
	/**
	* 头像图片
	*/
	private String avatar;
		
	/**
	* 人员类型(1:经办员;2:管理员;3:系统内置人员;)
	*/
	private int userType;
		
	/**
	* 部门编号
	*/
	private int deptId;
		
	/**
	* 锁定标志(1:锁定;0:激活)
	*/
	private int locked;
		
	/**
	* 账号是否禁用
	*/
	private int enable;
		
	private Date createTime;
		
	private int createBy;
		
	private Date updateTime;
		
	private int updateBy;
		
	public void setid(int id) {
	     this.id = id;
	}

	public int getid() {
	     return id;
	}
	
	public void setaccount(String account) {
	     this.account = account;
	}

	public String getaccount() {
	     return account;
	}
	
	public void setpassword(String password) {
	     this.password = password;
	}

	public String getpassword() {
	     return password;
	}
	
	public void setphone(String phone) {
	     this.phone = phone;
	}

	public String getphone() {
	     return phone;
	}
	
	public void setemail(String email) {
	     this.email = email;
	}

	public String getemail() {
	     return email;
	}
	
	public void setsex(int sex) {
	     this.sex = sex;
	}

	public int getsex() {
	     return sex;
	}
	
	public void setuserName(String userName) {
	     this.userName = userName;
	}

	public String getuserName() {
	     return userName;
	}
	
	public void setavatar(String avatar) {
	     this.avatar = avatar;
	}

	public String getavatar() {
	     return avatar;
	}
	
	public void setuserType(int userType) {
	     this.userType = userType;
	}

	public int getuserType() {
	     return userType;
	}
	
	public void setdeptId(int deptId) {
	     this.deptId = deptId;
	}

	public int getdeptId() {
	     return deptId;
	}
	
	public void setlocked(int locked) {
	     this.locked = locked;
	}

	public int getlocked() {
	     return locked;
	}
	
	public void setenable(int enable) {
	     this.enable = enable;
	}

	public int getenable() {
	     return enable;
	}
	
	public void setcreateTime(Date createTime) {
	     this.createTime = createTime;
	}

	public Date getcreateTime() {
	     return createTime;
	}
	
	public void setcreateBy(int createBy) {
	     this.createBy = createBy;
	}

	public int getcreateBy() {
	     return createBy;
	}
	
	public void setupdateTime(Date updateTime) {
	     this.updateTime = updateTime;
	}

	public Date getupdateTime() {
	     return updateTime;
	}
	
	public void setupdateBy(int updateBy) {
	     this.updateBy = updateBy;
	}

	public int getupdateBy() {
	     return updateBy;
	}
	
}